#include "Factory.hh"

Factory::Factory(BlockingQueue* AssignedQueue)
: FactoryCore(AssignedQueue, new Group)
{
	if (InfoOfFactory == NULL)
		notifyError(InfoOfFactory, "Fail Factory::Factory.");
}

Factory::~Factory()
{
	if (InfoOfFactory != NULL)
		delete InfoOfFactory;
}
